/**
 * output package name
 */
package com.kingdee.eas.custom.aoyuan.aytime;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class HolidayTypeEnum extends IntEnum
{
    public static final int PERSONAL_VALUE = 1;
    public static final int OTHER_VALUE = 999;
    public static final int LOSTCARD_VALUE = 2;
    public static final int SICK_VALUE = 3;
    public static final int MARRIED_VALUE = 4;
    public static final int OTRETURN_VALUE = 5;
    public static final int MATERNITY_VALUE = 6;
    public static final int PATERNITY_VALUE = 7;
    public static final int FUNERAL_VALUE = 8;
    public static final int WINTER_VALUE = 9;
    public static final int FEEDING_VALUE = 10;
    public static final int BIZOUT_VALUE = 998;

    public static final HolidayTypeEnum PERSONAL = new HolidayTypeEnum("PERSONAL", PERSONAL_VALUE);
    public static final HolidayTypeEnum OTHER = new HolidayTypeEnum("OTHER", OTHER_VALUE);
    public static final HolidayTypeEnum LOSTCARD = new HolidayTypeEnum("LOSTCARD", LOSTCARD_VALUE);
    public static final HolidayTypeEnum SICK = new HolidayTypeEnum("SICK", SICK_VALUE);
    public static final HolidayTypeEnum MARRIED = new HolidayTypeEnum("MARRIED", MARRIED_VALUE);
    public static final HolidayTypeEnum OTRETURN = new HolidayTypeEnum("OTRETURN", OTRETURN_VALUE);
    public static final HolidayTypeEnum MATERNITY = new HolidayTypeEnum("MATERNITY", MATERNITY_VALUE);
    public static final HolidayTypeEnum PATERNITY = new HolidayTypeEnum("PATERNITY", PATERNITY_VALUE);
    public static final HolidayTypeEnum FUNERAL = new HolidayTypeEnum("FUNERAL", FUNERAL_VALUE);
    public static final HolidayTypeEnum WINTER = new HolidayTypeEnum("WINTER", WINTER_VALUE);
    public static final HolidayTypeEnum FEEDING = new HolidayTypeEnum("FEEDING", FEEDING_VALUE);
    public static final HolidayTypeEnum BIZOUT = new HolidayTypeEnum("BIZOUT", BIZOUT_VALUE);

    /**
     * construct function
     * @param integer holidayTypeEnum
     */
    private HolidayTypeEnum(String name, int holidayTypeEnum)
    {
        super(name, holidayTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static HolidayTypeEnum getEnum(String holidayTypeEnum)
    {
        return (HolidayTypeEnum)getEnum(HolidayTypeEnum.class, holidayTypeEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static HolidayTypeEnum getEnum(int holidayTypeEnum)
    {
        return (HolidayTypeEnum)getEnum(HolidayTypeEnum.class, holidayTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(HolidayTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(HolidayTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(HolidayTypeEnum.class);
    }
}